package com.hao.product.app.model.dto.category;

import com.hao.common.dto.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author haoge
 * @version 1.0
 * @date 2023/5/23 16:17
 */
@EqualsAndHashCode (callSuper = true)
@Data
public class QueryCategoryRequest extends PageRequest {
    @NotNull
    @Min(value = 1 ,message = "请输入正确的参数")
    private Long id;

}
